import android.content.Context;
import android.view.View;
import android.view.inputmethod.InputMethodManager;
import   android.inputmethodservice.InputMethodService;

public class KeyboardManager {
  Context context;
  public KeyboardManager(Context parent){
    this.context = parent;
        
    InputMethodManager imm = (InputMethodManager) this.context.getSystemService(context.INPUT_METHOD_SERVICE);
    //imm.showSoftInput(view,0);
    //imm.hideSoftInputFromWindow(myEditText.getWindowToken(), 0);
    imm.showInputMethodPicker();
    
    //Muestra el selector de entrada
    imm.showInputMethodPicker();
    
    InputMethodService ims=new InputMethodService();
    
    ims.onCreateInputView();
  }
}
